package com.momo.seckilling.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by Kagome on 2019/4/28.
 */
@Controller
public class TestController {
    @RequestMapping("/thymeleaf")
    public String  thymeleaf(Model model) {
        model.addAttribute("name", "MOMO");
        return "hello";
    }
}
